package com.shoulder.core.enums;

public enum FilterEnums {

    LOG_TRACE_FILTER("logTraceFilter", 1),
    CORS_FILTER("corsFilter", FilterEnums.LOG_TRACE_FILTER.order + 1),
    XSS_FILTER("xxs", FilterEnums.CORS_FILTER.order + 1);

    private String code;
    private Integer order;

    FilterEnums(String code, int order) {
        this.order = order;
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }
}
